package com.cdd.agent.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdd.common.domain.entity.AppGuild;
import org.apache.ibatis.annotations.Select;

public interface AppGuildMapper extends BaseMapper<AppGuild> {

    @Select("select * from app_guild where user_id = #{userId} and examine = 1")
    AppGuild getByUserId(Integer userId);
}